package com.dwms.feign.declare;

import com.dwms.entity.QueryRequest;
import com.dwms.entity.Result;
import com.dwms.entity.declare.cebInvtReceipt.response.CebInvtReceiptResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @ClassName: CebInvtReceiptController
 * @Description: CebInvtReceipt
 * @Create 2025-09-06 14:16:53
 * @Author WH
 * @Since 1.0.0
**/

@FeignClient(value = "declare-server", path = "/cebInvtReceipt")
public interface CebInvtReceiptFeignClient {

    /**
     * 根据订单ID查询
     * @param query
     * @return
     */
    @PostMapping("/findByOrderId")
    Result<List<CebInvtReceiptResponse>> findByOrderId(QueryRequest query);

}
